package com.sz.ac.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 战队表
 * </p>
 *
 * @author ruichar
 * @since 2018-03-24
 */
@TableName("ac_grp")
public class AcGrp extends Model<AcGrp> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 战队队长手机号
     */
	@TableField("grp_leader_phone")
	private String grpLeaderPhone;
    /**
     * 战队名称
     */
	@TableField("grp_name")
	private String grpName;
    /**
     * 战队球数
     */
	@TableField("ball_nm")
	private Integer ballNm;
	/**
	 * 战队球数
	 */
	@TableField("pic_index")
	private Integer picIndex;
    /**
     * 时间戳
     */
	private Date tsp;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGrpLeaderPhone() {
		return grpLeaderPhone;
	}

	public void setGrpLeaderPhone(String grpLeaderPhone) {
		this.grpLeaderPhone = grpLeaderPhone;
	}

	public String getGrpName() {
		return grpName;
	}

	public void setGrpName(String grpName) {
		this.grpName = grpName;
	}

	public Integer getBallNm() {
		return ballNm;
	}

	public void setBallNm(Integer ballNm) {
		this.ballNm = ballNm;
	}

	public Date getTsp() {
		return tsp;
	}

	public void setTsp(Date tsp) {
		this.tsp = tsp;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public Integer getPicIndex() {
		return picIndex;
	}

	public void setPicIndex(Integer picIndex) {
		this.picIndex = picIndex;
	}

}
